#include "giza.h"
static CUProgress progress;


bool func1( char giza_fn[], char src_fn[], char out_fn[] )
{
	CGiza giza;
	if( giza.Open( giza_fn ) == false )	return false;
	if( giza.RecoverInsert( src_fn, out_fn ) == false )	return false;

	return true;	
}


int main( int argc, char *argv[] )
{
	if( argc != 4 )	{
		fprintf( stderr, "usage: %s GIZA  src  out-file\n", argv[0] );
		return 1;
	}


	if( func1( argv[1], argv[2], argv[3] )	== false )	{
		return 1;
	}

	return 0;
}

